from django.urls import path

from api import views

urlpatterns = [
    # 类视图url的定义
    path("register/", views.RUserAPIAView.as_view()),
    path('login/',views.LUserAPIView.as_view()),
    path('emplist/',views.EmpList.as_view()),
    path('addlist/',views.AddList.as_view()),
    path('update/',views.Modifylist.as_view()),
    path('update/<str:pk>/',views.Modifylist.as_view()),
    path('delete/',views.Deletelist.as_view()),

]
